<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="../../org/angular.min.js"></script>
</head>

<body ng-app="app" ng-controller="ctrl">
    <div>
        <input type="checkbox" name="" ng-model="fade">{{fade}}
    </div>
    <div ng-show="fade">
        show 我显示了
    </div>
    <div>
        <input type="checkbox" name="" ng-model="fadeif">{{fade}}
    </div>
    <div ng-if="fadeif">
        if 我显示了
    </div>
    <script>
        var m = angular.module('app', []);
        m.controller('ctrl', ['$scope', function($scope) {}])
    </script>
</body>

</html>
